import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";
import { TestTableListComponent } from "./list/table-list/test-table-list.component";
import { TestBasicListComponent } from "./list/basic-list/test-basic-list.component";
import { TestTableEditComponent } from "./list/table-list/test-table-edit.component";

const routes: Routes = [
    {
        path: 'list' , children: [
            {path: 'test-table-list', component: TestTableListComponent },
            {path: 'test-table-edit', component: TestTableEditComponent },
            {path: 'test-basic-list', component: TestBasicListComponent }
        ]
    }
]

@NgModule({
    imports: [ RouterModule.forChild(routes) ],
    exports: [ RouterModule ] 
})

export class TestRoutingModule { }